package com.ruoyi.system.domain.aggregation;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家审核对象 merchant_audit
 * 
 * @author ruoyi
 * @date 2025-01-01
 */
public class MerchantAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String name;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNo;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 身份证正面照片地址 */
    private String idCardUrl;

    /** 身份证背面图片地址 */
    private String idCardBackUrl;

    /** 营业执照地址 */
    private String certificateUrl;

    /** 卫生许可证照片url */
    private String hygienicUrl;

    /** 商家锁定用户数量上限 */
    @Excel(name = "商家锁定用户数量上限")
    private Integer lockNumLimit;

    /** 商家锁定用户数量 */
    @Excel(name = "商家锁定用户数量")
    private Integer lockNum;

    /** 业务员编码 */
    @Excel(name = "业务员编码")
    private String salesmanNo;

    /** 区域代理ID */
    @Excel(name = "区域代理ID")
    private Long regionId;

    /** 审核状态1、待审核2、已通过3、已拒绝 */
    @Excel(name = "审核状态", readConverterExp = "1=待审核,2=已通过,3=已拒绝")
    private Integer statue;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String reason;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 删除标志，0未删除，1删除 */
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIdNo(String idNo) 
    {
        this.idNo = idNo;
    }

    public String getIdNo() 
    {
        return idNo;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setIdCardUrl(String idCardUrl) 
    {
        this.idCardUrl = idCardUrl;
    }

    public String getIdCardUrl() 
    {
        return idCardUrl;
    }

    public void setIdCardBackUrl(String idCardBackUrl) 
    {
        this.idCardBackUrl = idCardBackUrl;
    }

    public String getIdCardBackUrl() 
    {
        return idCardBackUrl;
    }

    public void setCertificateUrl(String certificateUrl) 
    {
        this.certificateUrl = certificateUrl;
    }

    public String getCertificateUrl() 
    {
        return certificateUrl;
    }

    public void setHygienicUrl(String hygienicUrl) 
    {
        this.hygienicUrl = hygienicUrl;
    }

    public String getHygienicUrl() 
    {
        return hygienicUrl;
    }

    public void setLockNumLimit(Integer lockNumLimit) 
    {
        this.lockNumLimit = lockNumLimit;
    }

    public Integer getLockNumLimit() 
    {
        return lockNumLimit;
    }

    public void setLockNum(Integer lockNum) 
    {
        this.lockNum = lockNum;
    }

    public Integer getLockNum() 
    {
        return lockNum;
    }

    public void setSalesmanNo(String salesmanNo) 
    {
        this.salesmanNo = salesmanNo;
    }

    public String getSalesmanNo() 
    {
        return salesmanNo;
    }

    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }

    public void setStatue(Integer statue) 
    {
        this.statue = statue;
    }

    public Integer getStatue() 
    {
        return statue;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("idNo", getIdNo())
            .append("address", getAddress())
            .append("idCardUrl", getIdCardUrl())
            .append("idCardBackUrl", getIdCardBackUrl())
            .append("certificateUrl", getCertificateUrl())
            .append("hygienicUrl", getHygienicUrl())
            .append("lockNumLimit", getLockNumLimit())
            .append("lockNum", getLockNum())
            .append("salesmanNo", getSalesmanNo())
            .append("regionId", getRegionId())
            .append("statue", getStatue())
            .append("reason", getReason())
            .append("phone", getPhone())
            .append("deleted", getDeleted())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}

